import store from "@/store/index.js"
import utils from "@/ext/utils.js";
import config from "@/config.js";
import Request from "@/ext/http.js";

class User {
	queryVip () {
		if (!store.state.token) return
		Request.mgHttp("user/queryVip", {}).then(res => {
			store.commit("setIsVip", res.data);
		});
	}
}

export default new User()
